export default {
  data() {
    return {
      form: {},
      typeList: [
        {
          label: "货款",
          value: "货款"
        },
        {
          label: "菜款",
          value: "菜款"
        },
        {
          label: "其他",
          value: "其他"
        }
      ],
      receivePaymentTitle:'',
      ReceivePaymentOpen:false
    }
  },
  methods: {
    getList() {
      listOrder(this.queryParams).then(response => {
        this.orderList = response.rows
      })
    },
    handleUpdateReceivePayment(row) {
      this.$set(this.form, 'id', row.id)
      // this.form = row
      this.ReceivePaymentOpen = true
      this.receivePaymentTitle = "修改收款状态"
    },
    submitReceivePaymentForm(){
      console.log(this.form)
    },
    cancelReceivePayment(){
      this.resetForm()
      this.receivePaymentTitle = ''
      this.ReceivePaymentOpen = false
    }
  }
}